import React from "react";
import './index.scss'
import Img404 from '../../assets/images/404.png'
import {useHistory} from "react-router-dom";
export default function NoMatch() {
  const history = useHistory()
  return(
    <div className="nomatch">
      <img src={Img404} alt="页面错误"/>
      <p>您访问的页面不存在 <span className="go-back" onClick={()=>history.push('/')}>点击这里</span>返回登录页面</p>
    </div>
  )
}